﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

namespace MM.Model
{
    /// <summary>
    /// Rule
    /// </summary>
    public class RulesSPinfoV2
    {

        /// <summary>
        /// Rule 构造函数
        /// </summary>
        public RulesSPinfoV2()
        {
            this.LMask = new List<Mask>();
        }


        /// <summary>
        /// Rule OR映射构造函数
        /// </summary>
        public RulesSPinfoV2(System.Data.IDataReader dr)
        {
            this.ChannelNO = Convert.ToString(dr["ChannelNO"]);
            this.ChannelOrder = Convert.ToString(dr["ChannelOrder"]);
            this.ChannelNumber = Convert.ToString(dr["ChannelNumber"]);
            this.SendCount = Convert.ToInt32(dr["SendCount"]);
            this.SendMobileFlag = Convert.ToString(dr["SendMobileFlag"]);
        }

        /// <summary>
        /// 
        /// </summary>
        public List<Mask> LMask { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ChannelNO { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ChannelOrder { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ChannelNumber { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int SendCount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string SendMobileFlag { get; set; }
    }
}
